package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.mapper.SetMealMapper;

import java.util.List;

public interface SetMealService extends IService<Setmeal> {
//新增套餐同时保存套餐和菜品的关联关系
public void seaveWithDish(SetmealDto setmealDto);
//删除套餐以及和菜品的关联数据
public void removeWithDish(List<Long> ids);
    void batchDeleteByIds(List<Long> ids);

    SetmealDto getSetmealData(Long id);

}
